﻿package org.hsl.avm2.translation.mouse;
/**
 * An object that contains the location, the x and the y coordinate, of the mouse.
 */
class MouseLocation {
	/**
	 * The x coordinate of the mouse.
	 */
	public var x(default, null):Float;
	/**
	 * The y coordinate of the mouse.
	 */
	public var y(default, null):Float;
	/**
	 * Creates a new mouse location.
	 */
	public function new(x:Float, y:Float):Void {
		this.x = x;
		this.y = y;
	}
	private function toString():String {
		return "[MouseLocation x=" + x + " y=" + y + "]";
	}
}